﻿using System.ComponentModel.DataAnnotations;

namespace RearLivestock.Common.Domains.wbx
{
    /// <summary>
    /// 种猪历史
    /// </summary>
    public class PigHistory
    {
        /// <summary>
        /// 种猪历史ID
        /// </summary>
        [Key]
        public int PigHistoryId {  get; set; }
        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime BreedingDate { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        [StringLength(100)]
        public string MotherEarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 父亲耳号
        /// </summary>
        [StringLength(100)]
        public string FatherEarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 妊检日期
        /// </summary>
        public DateTime PregnancycheckDate { get; set; }

        /// <summary>
        /// 妊检结果
        /// </summary>
        [StringLength(50)]
        public string PregnancycheckResults { get; set; }=string.Empty;

        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }

        /// <summary>
        /// 健仔数
        /// </summary>
        public int Healthyoffspringcount { get; set; }

        /// <summary>
        /// 健仔总重量
        /// </summary>
        public decimal HealthyoffspringWeight { get; set; }

        /// <summary>
        /// 弱仔数
        /// </summary>
        public int Weakoffspringcount { get; set; }
        /// <summary>
        /// 畸形数
        /// </summary>
        public int Deformitiescount { get; set; }
        /// <summary>
        /// 死胎数
        /// </summary>
        public int Stillbirthscount { get; set; }
        /// <summary>
        /// 木乃伊数
        /// </summary>
        public int Mummiescount { get; set; }
        /// <summary>
        /// 畸胎数
        /// </summary>
        public int Teratomascount { get; set; }
        /// <summary>
        /// 当前胎次
        /// </summary>
        public int Currentparity { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeaningDate { get; set; }
        /// <summary>
        /// 断奶只数
        /// </summary>
        public int WeanedQuantity { get; set; }
        /// <summary>
        /// 断奶总窝重（公斤）
        /// </summary>
        public decimal WeaningWeight { get; set; }

        /// <summary>
        /// 删除 1-未删除 2-已删除
        /// </summary>
        public int IsDeleted {  get; set; }
        
       
    }
}
